﻿<%@ Page Language="C#" MasterPageFile="~/ffl/ffl.master" AutoEventWireup="true" CodeFile="premierleaguetable.aspx.cs" Inherits="ffl_anonymous_premierleaguetable" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:Repeater runat="server" ID="PremierLeagueTableRepeater">
        <HeaderTemplate>
            <table width="100%" cellpadding="0" cellspacing="0">
                <tr>
                    <td class="tableheader" style="width:40%">Team</td>
                    <td class="tableheader" style="width:10%">P</td>
                    <td class="tableheader" style="width:10%">W</td>
                    <td class="tableheader" style="width:10%">D</td>
                    <td class="tableheader" style="width:10%">L</td>
                    <td class="tableheader" style="width:10%">F</td>
                    <td class="tableheader" style="width:10%">A</td>
                    <td class="tableheader" style="width:10%">Pts</td>
                </tr>
        </HeaderTemplate>
        <ItemTemplate>
            <tr>
                <td>
                    <a href='<%# "/ffl/anonymous/club.aspx?Id=" + DataBinder.Eval(Container.DataItem, "ClubId")  %>'>
                        <%# DataBinder.Eval(Container.DataItem, "ClubName") %>
                    </a>
                </td>
                <td><%# DataBinder.Eval(Container.DataItem, "Played") %></td>
                <td><%# DataBinder.Eval(Container.DataItem, "Won") %></td>
                <td><%# DataBinder.Eval(Container.DataItem, "Drawn") %></td>
                <td><%# DataBinder.Eval(Container.DataItem, "Lost") %></td>
                <td><%# DataBinder.Eval(Container.DataItem, "GoalsFor") %></td>
                <td><%# DataBinder.Eval(Container.DataItem, "GoalsAgainst") %></td>
                <td><%# DataBinder.Eval(Container.DataItem, "Points") %></td>
            </tr>
        </ItemTemplate>
        <AlternatingItemTemplate>
            <tr>
                <td class="alternatetablerow">
                    <a href='<%# "/ffl/anonymous/club.aspx?cid=" + DataBinder.Eval(Container.DataItem, "ClubId")  %>'>
                        <%# DataBinder.Eval(Container.DataItem, "ClubName") %>
                    </a>
                </td>
                <td class="alternatetablerow"><%# DataBinder.Eval(Container.DataItem, "Played") %></td>
                <td class="alternatetablerow"><%# DataBinder.Eval(Container.DataItem, "Won") %></td>
                <td class="alternatetablerow"><%# DataBinder.Eval(Container.DataItem, "Drawn") %></td>
                <td class="alternatetablerow"><%# DataBinder.Eval(Container.DataItem, "Lost") %></td>
                <td class="alternatetablerow"><%# DataBinder.Eval(Container.DataItem, "GoalsFor") %></td>
                <td class="alternatetablerow"><%# DataBinder.Eval(Container.DataItem, "GoalsAgainst") %></td>
                <td class="alternatetablerow"><%# DataBinder.Eval(Container.DataItem, "Points") %></td>
            </tr>
        </AlternatingItemTemplate>
        <FooterTemplate>
            </table>
        </FooterTemplate>
    </asp:Repeater>
</asp:Content>

